/*
 * @Author: laladuduqq 2807523947@qq.com
 * @Date: 2025-07-23 19:45:15
 * @LastEditors: laladuduqq 2807523947@qq.com
 * @LastEditTime: 2025-07-23 19:46:04
 * @FilePath: \niu\page\T_Graphics.cpp
 * @Description:
 */
#include "T_Graphics.h"

#include <QHBoxLayout>
#include <QVBoxLayout>

#include "ElaPromotionCard.h"
#include "ElaPromotionView.h"
T_Graphics::T_Graphics(QWidget* parent)
    : T_BasePage(parent)
{
    _promotionCard = new ElaPromotionCard(this);
    _promotionCard->setCardPixmap(QPixmap(":/include/Image/MicaBase.png"));

    // 主布局
    QWidget* centralWidget = new QWidget(this);
    centralWidget->setWindowTitle("监控");
    QVBoxLayout* centerLayout = new QVBoxLayout(centralWidget);
    centerLayout->setContentsMargins(0, 0, 0, 0);
    centerLayout->addWidget(_promotionCard);

    addCentralWidget(centralWidget, true, true, 0);
}

T_Graphics::~T_Graphics()
{
}
